package main.java.indi.zyj.sword;

public class MechanicalAccumulator {

    int res = 0;

    public int mechanicalAccumulator(int target) {
        boolean x = target > 1 && mechanicalAccumulator(target - 1) > 0;
        res += target;
        return res;
    }

}
